home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Business ROM with ClearVue 12-94
/
Business ROM with ClearView v12-94.iso
/
tools
/
wordprcs
/
dvimsw26
/
dvimswin.doc
< prev
next >
Wrap
Text File
|
1993-03-10
|
6KB
|
121 lines
DVIMSWIN - TeX .dvi previewer for Microsoft Windows
This version of Dvimswin is specifically for version 3.1 of Windows,
though it may work with 3.0.
***** The RIGHT mouse button is used by this program. See below.******
This is release 2.6 of my TeX previewer for Microsoft
Windows, dvimswin. You need the file dvimswin.exe, the file texfonts.sub,
and fonts in the .pk format. The fonts must be stored in subdirectories of
one directory, all the fonts at 100 d.p.i. being in a directory
like c:\texfonts\100, the ones for 110 being in c:\texfonts\110, etc.
The program will ask for the name of this font directory. In this case
you would answer "c:\texfonts\". The program simply appends the d.p.i. value
to the string you gave it. The fonts are the same as those used
by my previewer dvivga, and are available from wsmr-simtel20.army.mil
by anonymous ftp. They are in the files "dvivga2.arc" through "dvivga8.arc".
You probably want to start with dvivga5.arc, which contains the 100 d.p.i.
fonts, and then get dvivga3.arc, which contains the 110 d.p.i. fonts
used a lot by Latex. Dvimswin.exe goes anywhere you wish, though most people
will put it in the Windows directory.
If you put a line such as
dvi=dvimswin.exe ^.dvi
in the [extensions] section of your win.ini file, you can start up
dvimswin by double clicking on a .dvi file. You can also start up
dvimswin by typing to the ordinary MS-DOS prompt
win dvimswin filename.dvi
Dvimswin allows you to use either a mouse or the keyboard to move
around in your dvi file. Most commands are obvious, except for the
Options. Resetmargins makes the current position of the text on the
current screen permanent, so future pages or dvi files will be placed the
same way. You **should always** get the first part of your first page
positioned properly then use this command. SaveParameters saves the current
margins and d.p.i. value in your win.ini file, so that the next time you
start dvimswin, they will be the same. The other options
cause various warning messages to appear on the screen and are
helpful for debugging your file layouts. If your first try at viewing
a page fails, try turning on all of these. (Warnings about
checksum errors are almost always harmless.) The first thing dvimswin
does when opening a .dvi file is to get info on all the fonts used
in a document, and this is sluggish. If you want to stop it, you
can't use the mouse, as it is disabled by the presence of the hourglass
icon. But the keyboard still works, so you can stop it by typing
<alt-f> then c (for Close).
The only thing non-obvious about the mouse interface is that the
scroll bar thumb only moves about on the current, normal size, page.
The actual range of the controls is greater. The thumb never reaches
the end of its travel to allow you to double-click on the bar part at
all positions. To move to a different page you click the RIGHT mouse
in the vertical scroll bar area. The top half goes back a page,
the bottom jalf goes forward. This is independent of the thumb position.
Please note that 100 d.p.i. is only the default text size. If you have a
high res screen you should go to a bigger size before you open a file.
At sizes below 92 d.p.i. most fonts are not really present in the
distributed ones, and are substituted for. This results in slightly
ragged margins and sometimes overlapping letters. If you use a smaller
size often, be sure to put a full set of the fonts you use for it
in the font substitution file.
There exist displays for the PC that actually have 300 dots per inch,
and are big enough to display a whole page. If they come with Windows
drivers, the 300 d.p.i. option appears on the size menu for your
edification. In any case, it can be useful even on ordinary displays.
If you have the memory, you should try using a disk cache program
like smartdrive or a ram-disk for your fonts. These utilities can
dramatically speed up many programs, including this one.
You can view more than one .dvi file at once by starting more than
one copy of dvimswin, if you have the memory. You can also do this to view
two places in the same file at once.
The font substitution file is useful for using small d.p.i. values.
You can peruse the provided one to see how it uses cmr8 at a larger
d.p.i. value for cmr10 at a larger one, for example. You can also put
lines like
cmssbx10 -> cmbx10
Times-Roman -> cmr10
Helvetica -> cmss10
to substitute whole font families. The size specific ones should
be put first in the file, as the first match is used, except for
fonts that you know you don't have ANY size in - such as Times-Roman.
Fonts in the 118 d.p.i. series will be used efficiently if you set the
default size at 121 d.p.i. If you have lots of fonts in only that
series, you will be pretty much stuck to 121 d.p.i. Likewise, set to 174
for using the 180 d.p.i. series.
This version of the program supports fonts containing 256 characters.
This version fixes a bug involving using multiple copies of Dvimswin at
once, and adds a feature to re-start a file with a simply button click
or "enter" key if you re-Tex the file you are currently viewing.
Doug McDonald (mcdonald@aries.cso.uiuc.edu aries is 128.174.90.55)
Copyright Notice:
The program dvimswin is copyright 1989, 1990, 1991, and 1993 by J.D. McDonald.
You are allowd to use it for your personal or corporate use. It may
be freely distributed so long as you do not charge for it
and do not claim a "compilation copyright". This means
that it may NOT be distributed by a commercial service such as Compuserve,
nor by an organization that charges for disks. It may be placed
on free bulletin boards, anonymous ftp sites, Bitnet listservers, etc,
so long as they are completely free.